#!bin/bash
s1_hello(){
echo "hello,world!"
}
s2_tell_who_i_am(){
echo "$(whoami)"
}
s3_which_who_distro_do_i_use(){
cat/etc/*-release | grep "^NAME"
}
S4_view_my_cpu_arch(){
uname -m
}
s5_show_first_scsi_disk_size(){
lsblk -1 | \grep disk | \grep '^sda' | \awk '{print $4}' |tr -d 'G'
}
s6_show_main_memory_size_in_megabytes(){
free -m | grep "Mem:" | awk '{print $2}'


s1_hello(){
	echo "hello, world!"
}

s2_tell_who_i_am(){
	echo "$(whoami)"
}

s3_which_distro_do_i_use(){
	cat /etc/*-release | grep "^NAME"
}

s4_view_my_cpu_arch(){
	uname -m
}

s5_show_first_scsi_disk_size(){
	lsblk -l | \grep disk | \grep '^sda' | \awk '{print $4}' |tr -d 'G'
}

s6_show_main_memory_size_in_megabytes(){
	free -m | grep "Mem:" | awk '{print $2}'

}
